package com.offcn.itemweb.feign;

import com.offcn.common.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("DYM-ITEM-WEB")
public interface ItemWebFeign {
    /**
     * 接受到请求之后
     *
     * @param goodsId
     * @return
     */
    @GetMapping("page/createHtml/{goodsId}")
    public Result createHtml(@PathVariable(value = "goodsId", required = false) Long goodsId);

}
